package pe.com.empresa.datos.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import pe.com.empresa.datos.dominio.Permisoxrol;
import pe.com.empresa.datos.dominio.PermisoxrolExample;

public interface PermisoxrolMapper {
    int countByExample(PermisoxrolExample example);

    int deleteByExample(PermisoxrolExample example);

    int deleteByPrimaryKey(@Param("idRol") Integer idRol, @Param("idPermisos") Integer idPermisos);

    int insert(Permisoxrol record);

    int insertSelective(Permisoxrol record);

    List<Permisoxrol> selectByExample(PermisoxrolExample example);

    int updateByExampleSelective(@Param("record") Permisoxrol record, @Param("example") PermisoxrolExample example);

    int updateByExample(@Param("record") Permisoxrol record, @Param("example") PermisoxrolExample example);
}